package com.atguigu.adapter.aClasssAdapter;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 被适配的类 (220V的电压)
 * @create: 2022-02-13 18:37
 **/
public class Voltage220V {
    /**
     * 输出220V的电压
     * @return 220v
     */
    public int output220V(){
        int src = 220;
        System.out.println("电压 = " + src + "伏");
        return src;
    }
}
